import React from 'react';
import { Select } from 'antd';
import styles from './index.less';

export default function index({ title, isShow = false }) {
  const SupplyHead = () => {
    return (
      <Select bordered={false} value={'continuous'}>
        <Select.Option value="continuous">96点连续</Select.Option>
      </Select>
    );
  };
  return (
    <div className={styles.title}>
      <div>{title}</div>
      <div>{isShow ? SupplyHead() : null}</div>
    </div>
  );
}
